#ifndef CUSTOMERINFODIALOG_H
#define CUSTOMERINFODIALOG_H

#include <QDialog>
#include "VRPObjects.h"
#include "ui_CustomerInfoDialog.h"

namespace Ui {
    class CustomerInfoDialog;
}

class CustomerInfoDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CustomerInfoDialog(CustomerInfo& info, const QString& defaultCustomerName, QWidget *parent = 0);
    ~CustomerInfoDialog();

private slots:
    void acceptInfo();

private:
    Ui::CustomerInfoDialog *ui;
    CustomerInfo& info_;
};

class CustomerPtrDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CustomerPtrDialog(CustomerPtr customer, QWidget *parent = 0);
    ~CustomerPtrDialog();

private slots:
    void acceptInfo();

private:
    Ui::CustomerInfoDialog *ui;
    CustomerPtr customer_;
};

#endif // CUSTOMERINFODIALOG_H
